<｜begin▁of▁sentence｜>### Instruction:
Given a dictionary with multiple key-value pairs, can you use the _format_mapping function to generate a JSON object string representation of the dictionary?
### Response:
import json

# Function to format a dictionary into a JSON object
def _format_mapping(data_dict):
    formatted_data = json.dumps(data_dict)
    return formatted_data

# Example dictionary with data
data = {
    'key1': 'value1',
    'key2': 'value2',
    'key3': 'value3'
}

# Format the dictionary into JSON
json_object = _format_mapping(data)

# Output the JSON object
print(json_object)
<|EOT|>
