Deserializing view correctly