In case of empty strings just output NULL,0 instead of "",0