Creating a method for restoring couchdb users _design view docs from backup