try harder to give useful yaml dumper data

1. show the yaml error if there was one
2. get an ident for stringifications if possible
simplify stupid ident extraction
v0.010

        - when the YAML dumper fails to dump, include the reason why

        - simplify code for ident guessing, avoiding newlines in idents