Typescript Interface Array Of Objects Json Validator And Fixer