A fully featured pactl wrapper that outputs JSON instead of pactl's native format.
PulseAudio pactl API