Converting string to variable name

Check the usecase below.

I am reading a json file. using the below code snippet and getting the output as shown.

import json
f = open('data.json')
data = json.load(f)
print(data)

output:

{'config': {'Hour': '12', 'Minute': '05', 'Second': '05'}}

What I want to do is, I need to create three variables hour, minute and second with value as mentioned in the json.

NOTE: The actual problem has huge number of data variables getting loaded, this is just a sample data. So please suggest some optimum code.