The fault is in your Java code.
You can *NOT* depend on Java to do the conversion for you. As you can see, it tries to convert the array to a standara Java serialized format, which nothing but Java will ever understand.
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.