Code snippets used to modify databases hosted on couchDb for SNO+