docs: function parseJsonText(text, message) {
          if (message === void 0) { message = "JSON"; }
          var answer = null;
          try {
              answer = angular.fromJson(text);
          }
          catch (e) {
              log.info("Failed to parse " + message + " from: " + text + ". " + e);
          }
          return answer;
      }