update date caster
update casting
fix tojson
fix casting
Automatically rewritten for npm.