fixed json mime type (thanks David)