Convert the consumer profile hash to use json and sha256.