JSON trace format: add_subdirectory restarts
In !4102 (merged), a JSON output format was added. However, the stack frame depth is restarted from 1 for ever list file executed through add_subdirectory
. I think it should add the current stack frame depth instead of beginning anew from 1.