support times in default json handler
tests for json_handler
Merge pull request #221 from dimagi/json-time

support times in default json handler