For printing BinData, we should be consistent with the Mongo shell here. Could you wrap the type and value argument positions? We can continue printing the type as a decimal number, despite the docs below saying it prints it in hex (I believe they need to be updated).

See: http://docs.mongodb.org/manual/reference/mongodb-extended-json/#data_binary