#Fix for serializing collection in api call