added nullserializer and  bytearrayserializer