utility for reading raw bson into python