Got deserialization working properly