Added JSON parsing for TileLayer

One to go ! but time to sleep first :)