Made processing of GitHub generic to accommodate both application/json and x-www-form-urlencoded.