Geocoder which processes whole document and returns JSON describing the geometry