I had no idea you could do this with CouchDB.  That's amazing.