we need to store string instead of object

EntityBody contain a stream object which is not available inside the profiler