Rename defaultMediaType attribute to mediaType to follow specification