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