got rid of RequestContent & Response classes, added test for JSON decoding of the response