Changes the way media handles the conversion of markup to json strings in the wysiwyg editor so that it may handle more then just img tags