Deserialisation working for collection and map