datastore: handle the []*Key type

Also added check for when trying to decode a nil *pb.Key