Removed ALL sysout.
Also, changed the content-type header.