Inverting products_options array