save peers config to json
save peers config to json