Slice hashes instead of objects for backwards compatibility
Merge pull request #8 from JonMidhir/refactor

Slice hashes instead of objects for backwards compatibility