@staticmethod
def document_to_object(document):
    """
        Document_to_object.

        Translate document to python object
        removes _id from document.
        """
    if document:
        document.pop('_id', None)
    else:
        document = None
    return document
