Added support to export array objects.