Fields applicable to all types

Quick question, is it possible to write an action button script that will export an entity, including all fields, without specifying the fields in advance?

As a side question: I know that table export is available, but are there any plans for other sorts of export capabilities?

UPDATE: Getting all field values for an entity