Use BSON unstead of JSON