refactor creating a problem for testing purposes into a separate method
convert requests/responses to json
write a test for behavior when we read a non existing problem