fix: Java serialization of inner object Adj