read config from services.json; set response header