default resource fields to resource's model's meta fields