Added json MIME type - fixes #1