Add basic validation for StepObject and RecipeObject