script generates json data for api and internal use
starting api generation
better comments
formatting