issue #50: Expose stringToObj as a public method