Utilities which cortex uses to read cortex.json files with semantics and defaults and validation.