Added removeApplication to json api