fixed java memory hash params
iterate over all keys so it doesn't matter what the key names are
Merge pull request #195 from jlambert121/es_metrics_fix

fixed java memory hash params