@staticmethod<EOL><INDENT>def normalize(template_dict):<DEDENT>
resources = template_dict.get(RESOURCES_KEY, {})<EOL>for logical_id, resource in resources.items():<EOL><INDENT>resource_metadata = resource.get(METADATA_KEY, {})<EOL>asset_path = resource_metadata.get(ASSET_PATH_METADATA_KEY)<EOL>asset_property = resource_metadata.get(ASSET_PROPERTY_METADATA_KEY)<EOL>ResourceMetadataNormalizer._replace_property(asset_property, asset_path, resource, logical_id)<EOL><DEDENT>
Normalize all Resources in the template with the Metadata Key on the resource.

This method will mutate the template

Parameters
----------
template_dict dict
    Dictionary representing the template