Improved 'serializedBy' serialization