Fixed exporting of object to dictionary.

[FIXED]     When explicitly expecting a dictionary, export to dictionary
            instead of to any codable.