Use .json extension on API request to work around Chrome bug

Currently, when you view the recipes index, then click to edit
a recipe, then click back, Chrome renders a raw string of JSON
because the JSON request was in the cache. This commit adds a
.json extension to the API request so that it is only the index
page that remains in cache. (I don't know why that happens.)