blargh json parsing and tmx usage