Convert tiles function to json