changed interface to be the same as JSON

Function names now mirror those of the JSON interface:
* parseStr -> parse
* makeStr -> stringify