Very ambiguous function name.  Maybe `normalizeShapeData` and then explain what that means.