abstract query builder jsonEncode not returning response