@staticmethod
def __vertex_json_id(vertex):
    """ A proxy property based access to vertices in current edge

        When edge is serialized to JSON object, no explicit object for its vertices are created, but rather they are referenced
        by special vertex json_ids.
        """
    if hasattr(vertex, 'json_id'):
        return vertex.json_id
    return hash(vertex)
