Changed serializeArray in Json

It now takes any kinds of Lists as well as Stacks and array in any
nested form.
Fixed small bug of how objects in arrays are printed.
serializeArray bug

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