Issue 6: Fix bug in unicode escape handling