objToJson obsoleted in JSON 2.x