Fixed rack cors and product json API view