Callback for converting internal collection data when POSTing to the API.
List<Object> toCollection(List<T> list);