Update JSONValue.cpp

Re added string length check. I assume you're using it to ensure data is only a 4, or 5 character string.