Get date and string data; rename type to valueType, to avoid polluting namespace