Set hal as a mime type and monkey patch AR to_hal