   `Config.base_url`.
   """
   def process_url(url) do
-    Config.base_url <> url <> ".json"
+    base = Config.base_url <> url
+
+    unless url =~ ~r/\.json/ do
+      base = base <> ".json"
+    end
+
+    base
   end
 
   @doc """

            {:ok, list} = #{module}.list
            {:error, msg, http_code} = #{module}.list
        """
        def list do
          parse_list get(resource_name), underscore(resource_name)
        end
      end


        |> pluralize
      end

      defp resource_url_with_options(options) when length(options) > 0 do
        resource_name <> ".json?" <> process_request_body(options)
      end
      defp resource_url_with_options([]), do: resource_name

      defp pluralize(string) do
        string <> "s"
      end
