Add ability to generate catalog.json with a basic pattern
Remove too many ","
Add missing ","
Fix syntax error as Ruby
Use instant variables correctly
Use --n-slices option correctly