options structure overhaul + support for streaming arrays in the config