Factory to create gather functions
gather_factory(
default.column.name,
default.column.empty,
expand.fun,
required.type
)
the desired name of the default added column
the value to use when the default column should be empty because the JSON has length 0
a function applied to the JSON that will expand the rows in the tbl_df
the json_types type that must be present in every element of the JSON for this to succeed