fixes JsonParseException for errorMessage field

uses the string value if a JsonParseException is caught