yaml table def loader - type overwrite fix for refs