Added serialization at put command