bug fix - keep responseData objects
change return type to be a little more flexible
make ResourceStream objects serializable with Gson