Adding java deserializer