Improving Image _json_to_obj method

The previous method had a side-effect of actually deleting the entry
from object passed and therefore could not be used in a static context,
e.g. in a @classmethod

Change-Id: I0e560452f902db6c6b3bda73bc21b95c9b706cd6
Merge "Improving Image _json_to_obj method"