removed dependency on JSON.NET