add rest object for handling converts from entities to rest response