public CommandMO toMO(Contact contact, EnumSet<MOFlag> options)
{
CommandMO mo = new CommandMO();
super.toMO(mo, contact, options);
mo.setEngine(this.getEngine());
<BUG>mo.setParameters(this.getParameters().stream().map((x) -> x.toMO(contact)).collect(Collectors.toList()));
</BUG>
mo.setApplication(this.getApplication());
mo.setCategory(this.getCategory());
mo.setScript(this.getScript());

public CommandMO toMO(Contact contact, EnumSet<MOFlag> options)
{
CommandMO mo = new CommandMO();
super.toMO(mo, contact, options);
mo.setEngine(this.getEngine());
mo.setParameters(this.getParameters().entrySet().stream().map((x) -> x.getValue().toMO(contact)).collect(Collectors.toList()));
mo.setApplication(this.getApplication());
mo.setCategory(this.getCategory());
mo.setScript(this.getScript());
