simple ruby script to parse juniper router configuration into a nested hash
Usage:
require 'juniper_hash'
hash_config = JuniperHash.get_hash(File.open('juniper.conf').read)
text_config = JuniperHash.build_config_from_hash(hash_config)
JuniperHash.get_hash(text_config) == hash_config
=> true