better error reporting when materialize fails (now with backtrace)
added tests to verify that services can return lists of structs