Builds a dictionary representation of the object (eg: for JSON)

        :return: Dictionary representation of the object

def dict(self):
        """ Builds a dictionary representation of the object (eg: for JSON)

        :return: Dictionary representation of the object
        """
        params = {
            prop: getattr(self, prop)
            for prop in [
                "logs", "date", "author", "sha", "path"
            ]
        }
        params["author"] = params["author"].dict()
        return params