converted config to JSON