Modifying export function to include additional information

Specifically modified to allow "id" to be exported.

Signed-off-by: Brian Potter <bpotter@schipul.com>