github response parsing cleaned