Force message encoding to uft-8 in response json

When adding django messages to the response json, force encoding
and type to be able to serialize as json in case they are in
ugettext_lazy __proxy__ or something similar.