whole_func_string: function normalizeApiAttributes( attributes ) {
  	attributes = clone( attributes );
  	attributes = normalizeTermsForApi( attributes );
  
  	if ( attributes.author ) {
  		attributes.author = attributes.author.ID;
  	}
  
  	return attributes;
  }
func_code_string: function normalizeApiAttributes( attributes ) {
  	attributes = clone( attributes );
  	attributes = normalizeTermsForApi( attributes );
  
  	if ( attributes.author ) {
  		attributes.author = attributes.author.ID;
  	}
  
  	return attributes;
  }
func_documentation_string: Normalizes attributes to API expectations
  @param  {object} attributes - changed attributes
  @return {object} - normalized attributes