Return a response object instead of the body string

All is in the title