Update server.js

Editing json structure