Creating a derived reducer for a DynMapReducer - TyphonJS