Standalone script to generate JSON of all categories and tags