use json to replace xml to implate the tiles data