changed response type to be application/json per #10