Porting a PHP Based Web Game to Mobile Part 2

First things first; we've got a case of inverted map syndrome. When parsing the game.php response for this map:
We get the following output:
Here, green refers to terrain, grey to buildings and red ...