add new to_test_yaml tool

call to_test_yaml to transfert the object and all its dangling
object in to the fixtures file