updating getAll() to return an array of objects with key and vlue properties, so that flash correctly encodes keys