Changed Deserializer to work through o2o relation