Prettifies a JSON string for human readability