CDB-3657 Adds profiler as JSON to the header