adds mime type support to rest mock response