Save service config as a json string.