Try to detect types from strings
Prototype handling of dates