try to read entity from ContainerRequest class for REST services