Make json creator do not crash on debug builds