Corrected the output paths
Fixed an issue with option initialization within url.serializeParams.