Serializing sample info working