(fix) Fixing the bug objectid is serialized event if it is set to None.