Changed product_type to just be type in product resource