adding parameters parsing to Response class.