 
   def get_url(url, mf) do
     if Regex.match?(~r/brid-gy.appspot.com/, url),
-      do: List.first(mf[:items])[:properties]["url"] |> List.first(),
+      do: List.first(mf["items"])["properties"]["url"] |> List.first(),
       else: url
   end
 
   defp get_value(item, key) do
-    kv = (item[:properties][key] || []) |> List.first()
+    kv = (item["properties"][key] || []) |> List.first()
 
     cond do
       kv == nil -> nil
       is_bitstring(kv) -> kv
-      true -> kv[:value]
+      true -> kv["value"]
     end
   end
 
   defp get_sub_key(item, key, subkey) do
-    key_val = (item[:properties][key] || []) |> List.first()
-
-    cond do
-      is_map(key_val) and is_map(key_val[:properties]) ->
-        (key_val[:properties][subkey] || []) |> List.first()
+    key_val = (item["properties"][key] || []) |> List.first()
+
+    cond do
+      is_map(key_val) and is_map(key_val["properties"]) ->
+        (key_val["properties"][subkey] || []) |> List.first()
 
       true ->
         nil

    if response do
      mf = Microformats2.parse(response.body, url)

      if Enum.count(mf[:items]) > 0 do
        item = List.first(mf[:items])

        %{
          "author" => get_value(item, "author"),

  end

  defp persontag?(item) do
    present?(item["properties"]["category"]) &&
      (List.first(item["properties"]["category"])["type"] || []) |> List.first() == "h-card"
  end

  defp get_values_from_html(url, html) do
