YAMLParser: initialize sub-messages