use a string for couchdb map function to please browserify.