text: const BasicProcessor = require('../../services/basicProcessor');
  
  /**
   * Tries to stringify value if it is an object
   * @param {any} value value to stringify
   * @param {any} defaultValue value to return when failed to stringify
   * @returns Stringified value, or default value
   */
  const safeStringify = (value, defaultValue) => {
    const basicProcessor = new BasicProcessor();
    return basicProcessor.safeStringify(value, defaultValue);
  };
  
  module.exports = safeStringify;
  