Journalist granted bail in data leak case