Example to reproduce: Given a list<string> holding one "element", the following JSON data are rendered:
The expected sequence would be:
This is due to the method OutputElemListBegin(), which JSON inherits from SimpleJSON. This method writes the field type as a byte value, without passing it through TypeIdToString(), which is incorrect for JSON.
EDIT: Similar problem appears when a "lst" should be read.