anchor.diff:                             [{<<"attributes">>, XMetaAttributesJSON},
                               {<<"dependencies">>, DependenciesJSON},
                               {<<"long_description">>, XLongDescription}]),
  +    CookbookJSON = annotate_with_s3_urls(inflate(<<"cookbook">>, XCookbookJSON), OrgId),
   
       %% Now that the metadata is assembled, piece the final cookbook together
       lists:foldl(fun({Key, Data}, CB) ->
                           ej:set({Key}, CB, Data)
                   end,
  -                inflate(<<"cookbook">>, XCookbookJSON),
  +                CookbookJSON,
                   [{<<"frozen?">>, Frozen},
                    {<<"metadata">>, Metadata}]).
   
   -spec minimal_cookbook_ejson(#chef_cookbook_version{}) -> ejson_term().
  -minimal_cookbook_ejson(#chef_cookbook_version{frozen=Frozen,
  +minimal_cookbook_ejson(#chef_cookbook_version{org_id = OrgId,
  +                                              frozen=Frozen,
                                                 serialized_object=XCookbookJSON,
                                                 metadata=XMetadataJSON}) ->
       %% The serialized_object is everything but the metadata, and metadata in turn is all the
  
positive.code: %% not contain any extra information, e.g. S3 URLs.
  -spec assemble_cookbook_ejson(#chef_cookbook_version{}) -> ejson_term().
  assemble_cookbook_ejson(#chef_cookbook_version{
                             frozen=Frozen,
                             serialized_object=XCookbookJSON,
                             metadata=XMetadataJSON,
  
negative.code:     %% add in the sub pieces of the metadata when merging
  
      Metadata = inflate(<<"metadata">>, XMetadataJSON),
      CookbookJSON = annotate_with_s3_urls(inflate(<<"cookbook">>, XCookbookJSON), OrgId),
  
      lists:foldl(fun({Key, Data}, CB) ->
                          ej:set({Key}, CB, Data)
                  end,
                  CookbookJSON,
                  [{<<"frozen?">>, Frozen},
                   {<<"metadata">>, Metadata}]).
  
  %% @doc Add S3 download URLs for all files in the cookbook
  annotate_with_s3_urls(Ejson, OrgId) ->
  