ecere/sys/JSON: add support for writing public base classes members.