I have a dataformat that is more or less an array of elements of this interface
interface element { id: string; chi