changes to write to storm topology