json controller complete