improve date support

*test unenclosed JSON string values for date/time type
*improve error info support
*minor bug fixing