Inject EntityManager in the EntityDeserializer class , instead in subclasses