stricter syntax of RESULT in TDL. Fix bug in result iterator (TDL). Make optional embedded structures be possible in simpleform