update readme, make success response JSON, update test