getExampleData = (context, exampleObj) => {
    let example = {},
      exampleKey;

    if (!exampleObj || typeof exampleObj !== 'object') {
      return '';
    }

    exampleKey = Object.keys(exampleObj)[0];
    example = exampleObj[exampleKey];

    if (example && example.$ref) {
      example = resolveExampleData(context, example);
    }

    if (_.get(example, 'value')) {
      example = resolveExampleData(context, example.value);
    }

    return example;
  }
returns first example in the input map
@param {Object} context - Global context object
@param {Object} exampleObj - Object defined in the schema
@returns {*} first example in the input map type