Cleaned up the multi array doc and implementation. No functional changes.
json serialization for multi arrays. Test suite updates.