support yaml-based object definitions