fix URIError: URI malformed  in case of not closed surrogate pair
- fix of throws error when it expects an array as a root level object but finds an object instead
- kill copy-paste style
"version": "0.2.7"
tests