Changed java version to 1.6
Fixed serialization of array nodes