Add custom_data_method config option. Should be a lambda that returns a hash; the hash will be included as value of the 'custom' key in the payload.