cat command: generate JSON data for textures

closes #6