Output catalog.json correctly