Trying to make content-type-based resources work