This package supports lazy properties, which can be manually included or excluded.
Inertia has a similar concept called lazy data evaluation, where some properties wrapped in a closure only get evaluated and included in the response when explicitly asked.
This package can output specific properties as Inertia lazy props as such: