Fixed tests for new outputs structure. Save params and response for each api call, to make debugging easier. Only display params and reponse in web page, not in spreadsheet (yet).