trying to turn tile selection image data into json