added response object as default return value and option for return string as return value