Helper for filtering JSON entries that have null on the database (empty on the db)