change object to deserialize them easily