Editor now serializes maps into json.