Add support for a nil field for sub-view levels which request no fields.

In these cases, the nil field will write out a value to make the view be
present.  The objectId is implicitly available at read time in these cases.

Also fixed OOM in test code.  Further refactoring is needed.