preliminary json output