moving to json config