Fix JSON and cocos2d format
Add tests to --json-format
Make JSON output look like more standard
Cleanup ratios behaviour across formats
Add support for CAAT sprites