Another large round of variable renaming

Variables renamed for clarity, consistency, and in a number of cases to
reflect an assumption that a JsonbValue is of an underlying type.