Added option to keep empty AST sub-trees (default to True) and a JSON parser example that needs this feature.