How to efficiently convert denormalized data to JSON? I am learning django and couldn’t find an answer on this.