deseralize config with JSON.parse