Fixed content-type and json messages issue.
Merge pull request #46 from HSWebteam/server_export_bugfix

Fixed content-type and json messages issue.