Revert "Rename mediatype to media_type to follow the Go convention"

This reverts commit 794aa9daa0d89d168aecf678d6128a50e31c6988.