json2 for cortex