server accepts json only. rest methods return json only. tests updated to utilize supertest and work with changes to server.js and rest.js