Minor variable name refactoring.
Expose Resource objects over a JSON API.