proper view for json output.