code: def from_dbus_fact(fact):
      
      return Fact(fact[4],
                  start_time  = dt.datetime.utcfromtimestamp(fact[1]),
                  end_time = dt.datetime.utcfromtimestamp(fact[2]) if fact[2] else None,
                  description = fact[3],
                  activity_id = fact[5],
                  category = fact[6],
                  tags = fact[7],
                  date = dt.datetime.utcfromtimestamp(fact[8]).date(),
              id = fact[0]
              )
docs: unpack the struct into a proper dict