Add an object.container

Add a container object for communicating data between the ReST API
and the database API

Change-Id: I0d0a00ca3bde07343a63adca6556bd142dfaa5d2