fix missing return when dispatching non-id attributes
RESTContainer now does method dispatch, updated example