Added serializer for a better data transfer to http request.