refactor jsonobject default string conversion