Bug fix: Object to Dict Conversion