Full review (do not merge)

I wanted to be able to show the json in browser (similar to YAML representation of hosts) - is there a parameter for link_to to send custom Accept header?

Perhaps it shouldn't be exposed at all - it is probably only useful for debugging.