await this.gremlinService.readClientSource.V().elementMap().toList() will return an Array of Maps.JSON.stringify() , which NestJS is likely calling for you, doesn't support Maps so you need to convert them into objects using something like Object.fromEntries().