Scala : XML decoder injection