made status code configurable when view data is explicitly null
made serializing null values configurable