fix output of pParseError message, add module basTESTjsonerrors for error testing and helpful debug output