I need a small, well-commented Python script that reaches out to a REST API, pulls the raw JSON it returns, and automatically transforms that payload into a cleaner structure ready for downstream use. The focus is strictly on data processing—specifically data transformation—so you will not be asked to do any scraping, cleaning, or analytics beyond the mapping logic. Here is what I expect: • A single runnable .py file (Python 3.x) that authenticates, fetches, and transforms the data. • Clear sections in the code where the API endpoint, headers, or keys can be updated easily. • Output saved to either a new JSON file or an in-memory Python object that I can import into other workflows. • Concise inline comments explaining each transformation step, plus a short README that shows how to run the script and what the resulting structure looks like. Feel free to use requests, pandas, or any other standard library/tool you find appropriate as long as the final solution remains lightweight and easy to install via pip.