Added support for json and xml gets in one method.
Added support for JSON test clients and setup assingment to create a
PostResource in class.