Transform a DataSet to JSON using Json.NET 

This post has moved…here