add toScalaList
replace transform with map: better name for what it does; also remove
nulls on property, replace with option (idiomatic scala)