expand attributes in ListingBlocks, sync to logstash-docs version

Fixes #2216