Async and improved serialization in MediaAPI

Change-Id: I1c47b7199c28865083607574298d6a4f66896620