See earlier comment regarding confusing variable passing. May want to create the to-be-JSONified object first as a separate variable, and pass that variable to the `JsonResponse` class.