module.exports = function (room) {
    room.url = "http://localhost:9020/api/rooms/"+room.getOwner() + "/" + room.getName();
    return room;
};
@@ -32,16 +32,47 @@
 ) %7B%0A
+%0A
     
-room
+var json = room.toJSON();%0A    json
 .url
@@ -98,9 +98,9 @@
 t:90
-2
+3
 0/ap
@@ -160,16 +160,16 @@
  return 
-room
+json
 ;%0A%7D;

use toJSON for room