The only way the code gets here is if we know we have a node engine, so json.engines should exist