Fixing error handling and object conversion for array types

Fixed an issue where array types weren't converting their member objects properly, and an issue with errors for APIs which don't return error details. 

Fixes the issue underlying #52 and #57.