added a filter to get only 'public' columns and use that in the JSON output rather than allowing everything