The XSL:T equivalent for JSON is jq
https://github.com/jqlang/jq
Learn it. It is insanely useful for mungling json in day to day work.