added fallback to as-response when there is no :as-response key set in resource