jwlibrary to json from jwlibrary.parse import JWlibrary jw = JWlibrary("resources.jwlibrary") jw.parse()