csv table json serialization