A library of handy functions for use when working with CouchDB documents