some error checks and lenience (for hexdump -n)
parses XMP file (- for stdin), extracts chapter markers, dumps json