Revert "Fix to handle nested hashes in logstash.conf"

This reverts commit 8a2b14b0c756c995252b44793ba9c853aa57ad8f.