Implementing a "Prisma model converter middleware" - tRPC