Additionally/alternatively, breaking out the this part where you parse the JSON entirely might be desirable. E.g. you could instead deserialize the JSON into a dataclass ([example](https://stackoverflow.com/a/76103446)) which you instantiate and refer to in the `submission` function. That should break things up, add some clarity, and help more safely retrieve values from the JSON.
Originally posted by @gesinaphillips in #5 (comment)