fix paredit mode in slime, add a function to prettify json documents