implemented binary serialization of nested dynamic arrays (e.g. "array of array of integer")