Support mime type in metadata