added unicode escapes for sub-keys