Added new empty function to return empty encode result struct. Updated encoding method to make use of sparse BTreeMap datastructure.
Added new empty function to return empty encode result struct. Updated encoding method to make use of sparse BTreeMap datastructure.

SProst/ag-md1-rs