code: function (intersects) {
    if (_.isString(intersects)) {
      try {
        intersects = JSON.parse(intersects);
      } catch (e) {
        throw new Error('Invalid Geojson');
      }
    }
  
    return intersects;
  }
docs: converts string intersect to js object