added togeojson and stylegeojson fxns