Drop the custom `print_hash` in favour of a straigh `to_yaml`. Closes #6