Added debug flag for plain text output

I added the debug functionality to get your output as plain text by adding the value debug=true to your querystring.

Not sure if anyone else but me found it useful though, enjoy!