clear json controller