properly render json unicode in api responses

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