Fixing validation error on sub-resource and using ostruct for Hash
objects in Poncho::Resource