use json_response for json_response (allowing date keys)

http://manage.dimagi.com/default.asp?90087
Merge pull request #2167 from dimagi/cz

use json_response for json_response (allowing date keys)