Fetch json for library node

Say I have a library node displayed in MyVideoNav: library://video/movies/anime.xml

How do I get JSON for that node, like the one below?

Code:
{"rules":{"and":[{"field":"path","operator":"startswith","value":["D:\\\\anime\\\\"]}]},"type":"movies"}