try fixing issues with native type id serialization