Changing dataUri to support map of arraybuffer and json.

issue - #44