support multiple documents in yaml-dump-* scripts