to_nice_yaml wasn't working with copy made it a simple template