input/logictree:
input/logictree:

When reading source models from the DB, encode the content as utf-8
(intead of casting to a string) before parsing. This is less
error-prone.


Former-commit-id: 6b13bc41dd2e56bcc021ba763c98f2e2cd848677 [formerly b9ff6520a62d20e7068525d29710b431ade21957]
Former-commit-id: ebf45f12c209ec960ec8d0520b0982a3e37b2204
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine