Split task.
Gather all JSON encoding/decoding stuff in one place.
Support `biegunka list [PROFILES] --json`