added contentType in returned metadata