Global var substitution is evil, send_couchdb apparently broken

@guillermo-carrasco... I do recall debugging this together and it was very obvious back then: why is send_couchdb not sending the result data to iriscouch? :_/