Added ability to set a SerializationContext into the View

our code convention is to add a `use` statement for this above and then use the local class name without namespace. and to have a blank line between param and return.