fix issue #185 (non consistent json error handling of submittable content types)