Add docs for json and str functions