Extract keys from canvas object