EJSON - decode and encode JSON into/from Erlang terms (from CouchDB project)