$socialcommerce plugin object conversion