Moving setValues() into deserializer as logic shouldn't be within data
classes