Supporting github payloads that are JSON

rather than the form-encoded legacy format.