moved key to name transformation to utility class so it can be re-used.