Remove extra space around pretty printed json