Change hash key based on hash value

hash = {
“price”: “419.5”,
“pricelevelname”: “STOCKING DEALER”
}
Expected Result
{
“price_STOCKING DEALER”: “419.5”,
“pricelevelname”: “STOCKING DEALER”,
}

how to achieve this

Not really sure what you are trying to achieve here.

Could you elaborate on what you are doing in your posted example?