Setting "map_to" to a sub-object

It doesn’t seem there is any way to set map_to to a value such as “params.favoriteColor” and have it saved on the event object as such:

event.params.favoriteColor

Where params is an object and favoriteColor is a property of that object.

Instead it creates a property “params.favoriteColor” of event.

I’ve looked in the code and understand why this is happening, but was wondering if you’ve run into this need before and have a solution.

Thanks,
Mike

Unfortunately there is no ready to use solution for above problem.
You can create a custom section, which can assign values to any property of original event object

That is how I am currently doing it.

Thanks.