change serialize_model_to_string for use '>:raw' instead of '>:encoding(UTF-8)' to not double-encode RDFXML (and probably other) outputs
use encode_json unless $opts is present, on RDF::Trine::Serialize:rdfjson.pm. The default now is to expect/generate UTF-8 jsons