Using AFJSONRequestSerializer for encoding