Load/save map as json. Probably needs more testing.