Add a separate class for a mutable JSONEncodedDict

This patch introduces a separate class for mutable version of
JSONEncodedDict.

Change-Id: Ia665097b4c5b68a65b5c11bcc63e2b6c3aeadd83
Merge "Add a separate class for a mutable JSONEncodedDict"