Handle nil values in the encoder
Alised primitives