Processing data using DoFn