basic support for json remote resources and some support for xml remote resources.