add toJSONArray3 with rjson::toJSON to quicken render