Fix `shell-file-name'.
Always fold lines in eshell.
Helper to convert buffer contents to JSON string.