refactored _apiParams[params] to be compatable with http_build_query so it's URL encoded and handles nested arrays properly, also pass format param explicitly so we can take advantage of json format