Fixed deserialisation of Time attributes