Joseph Gordon-Levitt Signs on to 'Sandman'