KAZOO-3064: formatting and remove unused clauses
KAZOO-3064: use json object throughout
KAZOO-3064: refactor some functions to use pattern matching in the
function header
KAZOO-3064: refactor into sub functions
KAZOO-3064: cleanup types/specs
KAZOO-3064: fix pattern match from cf_endpoint

use whapps_call:exec/2 to fold over functions
KAZOO-3064: extract nodes in named fun

pattern match and remove unused LC