Adds custom structure to FromArray provider