added generic getter for response attributes