Typescript Array Remove Element Json Validator