public static function convertLockAlias(array $lockData)
    {
        if (isset($lockData['aliases'])) {
            $aliases = array();

            foreach ($lockData['aliases'] as $i => $config) {
                $aliases[$config['package']][$config['version']] = array(
                    'alias' => $config['alias'],
                    'alias_normalized' => $config['alias_normalized'],
                );
            }

            $lockData['aliases'] = $aliases;
        }

        return $lockData;
    }