code: func (d *Domain) ResolveImports() {
  	for _, returns := range d.Commands {
  		if returns.HasReturn {
  			d.Imports = append(d.Imports, "encoding/json")
  			return
  		}
  	}
  }
docs: // if any command has a return statement we use json, so import it.