Prune nulls from state dictionary

Save a little bit of space I guess.