Updated to change formatting of arrays