Handle reading of REST API endpoints that return single resource. Fixes #42
Merge pull request #43 from claudijo/issue42

Handle reading of REST API endpoints that return single resource. Fixes #42