I'm not sure that "formatted" is a good name here. When I think of "formatting" I think of a string. Here it seems you are converting something which may be either a string, a string + hash, or a hash, to a hash which has stringified values.

Would a better name be "normalize"?