trying to use couchdb mapping