add NewCortexFromJSONString() method
add NewCortexFromJSONSBytes()