Trace Parser: add final ']' for JSON array