serialise the outer length as the length of utf-8 encoded byte array