corrected getJsonValues() for return characters