typecast every known field on toArray method. closes #106