add a view with JSON contents of a folder