Fixed #18: Namespace produces invalid JSON due to unescaped backslashes.