renaming #exposed_data to #to_hash