Using integer timestamps for metadata update

Fixed improper dumping of metadata -- we were only saving/restoreing
_images['data'] now we save _images