Text this: Joining and aggregating datasets using CouchDB