move configuration to json format