I\'m using Gremlin (JS library) to communicate with JanusGraph. I have the following groovy code which works well in the groovy console:
g.V().project(\'id\',