all events from an App are json payloads
all events from an App are json payloads

The previous logic created issues where 422s were returned to GitHub as Push and Pull Request events were json payloads, but we checked the `params[:payload]`, only for it to be nil.
travis-ci/travis-listener