Compute consumers of variable before returning a field JSON.
Add profiling code