Added mime checking to Input::josn() tests.