added errors.json media type
now each object can have one or more media types