JSON format: correctly recognize "date" type columns

Closes #117 -- includes testcase