[dumper] Fix detection of explicit key notation in block mappings.
[dumper] Prevent adding unnecessary spaces.

Related to issue #68.