response highlight depending on content-type

Sometimes API can respond with HTML :)
what if we move this to @record in collector ?