Passing DTO object having two arrays from angular to spring boot rest but getting error "JSON parse error: Cannot deserialize instance of java.util.ArrayList&q
java.util.ArrayList