Array handling in jfunct for input/output