Fixed ERRAI-615: Problem when demarshalling subtypes in errai jax-rs