Added asObject() function to objects instead of arrays
Added asObject to fetchPairs()
Added tests for this
Merge pull request #24 from superaktieboy/feature/as-object

Added asObject() function to objects instead of arrays