global refactor, use a standar json object for the engine, not a tricks object