json output of the sync functions