MediaObject: Encode type in objectId

Change-Id: I12532866adb39768ccbecc7683b03aa3fc67202a