Triplocation template now uses Model#get for its relational Location objects.

Since passing around these objects is now handled on the frontend, I also
removed a lot of the Model#as_json hacks on the server that were passing that
data to the client.