print exception details when encountering AttributeError
solve json.loads() UnicodeDecodeError: decode from ISO-8859-2, encode to UTF-8