code: function parse(data) {
    try {
      return JSON.parse(data);
    } catch (e) {
      log('Oops! Some problems parsing this ' + (typeof data === 'undefined' ? 'undefined' : _typeof(data)) + '.', 'error', debug);
    }
  
    return null;
  }
docs: JSON parse with error
  @param  {String} data
  @return {String|null}