Added support to print out primitive arrays