Can serializing primitive type