pub fn create_json_response(data: Value) -> Result<Response>
Helper function to create a JSON response