moved check for compressed to DecompressMapJson