change configurations to json