Condensed union of properties into the first feature.

This helps to correctly initialize the form.
Fixed upload of documents using GeoJSON_clone (temporarily).

This is not the best way to do that now I can
- fetch a bunch of documents as xml table,
- erase unneeded columns,
- define new columns and set type,
- create new docs from modified table.