def map_documentation(x):
    """
    Map a SQLAlchemy Documentation model object into a generic map.
    :param x: SQLAlchemy Documentation model.
    :return: Generic map containing relevant details for REST API.
    """
    return {"path": x.path, "name": x.name, "order": x.order}