removed JSON.NET dependency and BSON serializer