Added more validation to dictionaries
Merge pull request #94 from gem/valid-dictionary

Added more validation to dictionaries