change mime type resolution for data binding

This mime type resolution code is still pending attention