Object keeps getting overwritten - tRPC