BACKLOG-1048 Moved creating and serialization of requests and response to separate classes