   def get_organization(id, opts) do
     organization =
       load("organization.json")
-      |> Map.merge(%{"id" => id})
+      |> Map.put("id", id)
 
     send(self(), {:closex_mock_client, :get_organization, [id, opts]})
     {:ok, organization}

    opportunity =
      load("opportunity.json")
      |> Map.merge(payload)
      |> Map.merge(%{"id" => opportunity_id})

    send(self(), {:closex_mock_client, :update_opportunity, [opportunity_id, payload, opts]})
    {:ok, opportunity}

    lead =
      load("lead.json")
      |> Map.merge(payload)
      |> Map.put("id", lead_id)

    lead = parse_dates_to_strings(lead)
    send(self(), {:closex_mock_client, :update_lead, [lead_id, payload, opts]})
