migrated json and xml data to couchdb