bunch of small tweaks
bunch of error cleanup, get geojson and geometries from jsonelements, add test jsons, cleanup