Allow trees to choose whether to extract arrays from ArrayProviders

Signed-off-by: Tom Wright <tom@inflatablecookie.com>