Added support for multiple layers and started matching Tiled's JSON.