Make parseResponse handle PDFs right

The parseResponse function was trying to json_decode() returned PDFs, which ended up returning NULL. Removed the function call and it magically works.
Merge pull request #8 from SpoonNZ/patch-1

Make parseResponse handle PDFs right