Add utility functions to extract structures from embedded json
Extract InitialCfg from JSON when needed, don't pass around