Added content type response header.

Added setting the content type header if calling the method on the bean
worked.