Make ParseError a little more useful & fix to_array

Fixes some ParseError breakage in https://github.com/adelevie/parse_resource/commit/760bf338372bfcc092f9271e17458b6182aa5bac (pull req 42)