json: fix processing for mms