JSON solve unicode and add invalid unicode tests