The programm is now able to obtain the json on the fly from CouchDB via _all_docs request.