def format_node(node):
    """ format and return given node into dictionary """
    return {
        "node_id":              node["node_id"],
        "create_ts":            node["create_ts"],
        "node_owner":           node["node_owner"],
        "host":                 node["host"],
        "port":                 node["port"],
        "phases":               node["phases"],
        "latency":              node["latency"],
        "connection_attempts":  node["connection_attempts"],
        "pass_phrase":          node["pass_phrase"]
    }