Implementing (json) output of columns