Added support for PostRepresentationCollection and xml or json support
out of the resources.