[WIP] Serialize /feed/<element>/ differently for fireplace/discoplace (bug 1061206)

https://bugzilla.mozilla.org/show_bug.cgi?id=1061206

WIP, this needs tests, I'm submitting this to get feedback on the idea first.
Sounds good, I'll give it a try.