RESTful objects framework