/pets returns all pets in json format and /pets/:id looks up a pet by id...

... and returns

it in json.