In order to avoid issues with converting R data frames into JSON objects and back to R data frames, we instead convert R data frames to R lists before converting them to JSON to be sent via the Polished API. This function then converts those lists back into R data frames (or more precisely tibbles).
api_list_to_df(api_list)
a tibble
a list. All elements in the list are vectors of the same length.