Hello ,
I was able to solve the problem by using the out of the box consent and preference fieldgroup. I used the subscription map for handling the same instead of using an array. Since its a map you can add as many key as you want, but the value of each key (offer_push, sale_push, back_in_stock_p...