represents unit as an empty JSON array. because a tuple is a heterogeneous list; (5, "foo") => [5, "foo"] and unit is an empty tuple; () => []