Boolean and list serialization