msgpack[1] or LEON[2] might be more useful alternatives, in that case, depending on your interoperability requirements.
[1] http://msgpack.org/ [2] https://github.com/raypulver/LEON
[1] http://msgpack.org/ [2] https://github.com/raypulver/LEON
* http://bsonspec.org/