atom undefined encodes to null