allow mixing hashes and yaml files in declare_yaml