To include screenshot directory in .json report file

In report.json file screenshot key has a value of null when screenshot is taken. Please give a way to include screenshot directory as a value