Fix  json format for returning objects on iOS