serializeArray bug

serializeArray can now take things other than Object[]. Tests for
long[], int[], boolean[], char[], String[] and Object[](which assumes
it’s serializable)