figured out how to transmit arbitrary data along with geojson, cleaned stuff up