implement toJSONstat for single value-column data frames