Use atdgen to parse tiles.json
First example of using atdgen to parse a config file