I have an API controller, which accepts HTTP requests and return some result. All work properly, but when it gets PUT request, serializer writes data with the excessive \']\