fixing resource declaration
yaml generation works now