Essentially, I have an enum that represents different statuses
status = {1: "new", 2: "working" ... }
and my goal is to transform it into something like
status = [{1: "new"}, {2: "working"} ...]
in a way that is clean and easy to understand.
At the moment, I'm unsure of the best approach. Perhaps iterating through the object and creating a new object in an array for each pair? However, this does not sound like the most efficient method.