fix for json separator not strictly allowed at end of array debug message