add comments to toJSONString methods