change json format to conf