JsonSerializer: Fix typo resulting in failed file save