Added JSON string validator