Fix for issue 2227

Simple fix for the #2227 : replaced mandatory meshes and nodes by optional fields according to the spec