switched configuration to json