json version of xml-rabbit