adding some dev json profiling code