return mime of a field

if there is a content type in  a part, the mime of the part is correctly set but is not returned when emiting the onfield event.
with that mime returned, one can handle differently if the field is json for example.