Several months ago, Microsoft decided to change up the HttpResponseMessage class. Before, you could simply pass a data type into the constructor, and then return the message
For any T object you can do:
return Request.CreateResponse(HttpStatusCode.OK, Tobject);