Return correct headers
Add mocha test dependencies
Return numbers in JSON responses as numbers, not strings.