Let the API enforce your output shape instead of hoping for it.
Made for you now: slide lessons from basics to production, usually with code and a quiz. See a finished one