update to_yaml to work without Syck, which is not default in >1.9.2