Removed unnecessary creation of yaml Dumper class