code: function addOptionals(geojson, settings){
      if(settings.crs && checkCRS(settings.crs)) {
        if(settings.isPostgres)
          geojson.geometry.crs = settings.crs;
        else
          geojson.crs = settings.crs;
      }
      if (settings.bbox) {
        geojson.bbox = settings.bbox;
      }
      if (settings.extraGlobal) {
        geojson.properties = {};
        for (var key in settings.extraGlobal) {
          geojson.properties[key] = settings.extraGlobal[key];
        }
      }
    }
docs: Adds the optional GeoJSON properties crs and bbox if they have been specified