Ensure js result is a str
Add example docs