Handle both array and single hash results
Merge pull request #6 from TheClymb/master

Fix single item retrieval