Create a _JSON serializer_ for a given Python data structure.
data = {
 'name': 'Alice',
 'age': 22,
 'hobbies': ['coding', 'guitar']
}
import json

data = {
 'name': 'Alice',
 'age': 22,
 'hobbies': ['coding', 'guitar']
}

json_data = json.dumps(data)

print(json_data)