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.