builds and runs. Large memory spike at beginning of flatten, then levels to about 40MB. Takes a long time to complete, probably because of vectors. Need a way to scan the JSON without necessarily loading it as an AST