Add support for mson/json to smartio.