new yg-model directive format
moved most fields to new yg-model-object directive