WFCORE-216 Add ModelValidator to ensure resource model is correct