ResourceContext now carries ContentTypeIn & ContentTypeOut
cleaned up and fixed the ContentTypeIn & Out handling