On 2015-02-27 09:11, Markus Kroetzsch wrote:
Since the JSON dumps and EntityData exports are (largely) free of errors, there is already code for fixing this problem. Maybe we could just use this.
Tracked in: https://phabricator.wikimedia.org/T64188 Replace old serialization code in lib with datamodel serialization
Also: https://phabricator.wikimedia.org/T73349 Fix empty map serialization behaviour