- Added test for deserialize/serialize dictionary with new changes
- Added logic to support custom dictionary (credit to grigorey)