Map<String, dynamic> toMap(RunTaskStep r) => {'file': Mapper.toValue(r.file), 'type': 'RunTaskStep'};