Best position for dumpYaml and rubyYaml