Fix to handle nested hashes in logstash.conf