SerializerFactory functions now take options as param and pass it to serializer

EntityView now using serializer factory instead of deprecated function.

Change-Id: Iee670357c11173c4129a23e48b2797fffa073f42
Merge "SerializerFactory functions now take options as param and pass it to serializer"