Use 'type' instead of 'type_' in the yaml representation (and allow similar tweaks to any param name via :yaml_param