use json_response for json_response (allowing date keys)

http://manage.dimagi.com/default.asp?90087