Re-encode strings back, so result stays valid JSON