bson and json id mapping