The straight serialization of the .NET objects was easy but produced not very nice JSON. The columns should really just be a key/value pair in the result.