Add node type as a key in AST so generated JSON is readable