couchDB inserting 1 element instead of 6