Map<String, dynamic> toMap(JavascriptStep j) => {'run': Mapper.toValue(j.run), 'type': 'JavascriptStep'};