declare utf-8 encoding for transit_types

Fixes an issue printing byte arrays.