allow loading json formatted tiled map editor files

Quick change to allow loading json formatted files from tiled map editor.