added support for responseClass=List[com.foo.Bar]
refactored per #PR101