Sparta provides rails helpers to add structured data (JSON-LD) on your views. It will fight for you.
Marvin Danig
MIT