Support one-level nesting of arrays to createMiddlewareServer