JSONIFY modified for ObjectId