parse response (to be tested)