Change in pysim[master]: utils: Fix bugs in DataObject encoders