@add_field decorator to make a function into a stream filter adding a new field - calculated by the function