Revert "tolerant json parser for @daimrod"

This reverts commit acd0970b211f12216d716fff77dc2042eeaa6fe9.

* server/public/js/api.js: Fix Content-Type header.