NPI integration & related array to objects conversion