Fix list output for TJSONProtocol