added ObjectIdJSONEncoder