I have changed this completely, so that I can filter the sequence of tuples. The filtering removes defaults, which should not be passed to ElasticSearch.