json controller and tst json client element