Limit array lengths to max 255 objects of each max 65535 bytes.

This could be tweaked later, but honestly I don't need more for now.