The number should be quoted correctly:
Currently:
{ "$numberLong" : <number> } }
Should be:
{ "$numberLong" : "<number>" } }";
http://docs.mongodb.org/manual/reference/mongodb-extended-json/#numberlong
This is causing the json to be incorrectly round tripped.