unmarshals the yaml config and prints it out. Rudimentary validation