* add flag of a filename, into which the serialized OGD Metadata will be written
* reorganize code, so that defered functions will fire and a status code is returned to the caller
pretty-print
fix field check: inside the switch, a wrong field was accessed for inspection
more tests
use 0 as offset instead of -1