JSON common adapter does not modify input string encoding