Make resolveUrlArugments handle arrays instead of needing to be called for each argument.