I am trying to retrieve MailGun event data into my Django application but when I try and parse this I keep getting a type error or None object error. What is the correct way of