add json output to transfer