change the filter to a hash and applied auto-formating
Merge pull request #26 from 2600hz/hash_filter

change the filter to a hash and applied auto-formating