add visibility to SerializerFactory constructor

(this class shall be deleted soonish, but until then fix this)

Change-Id: I25ee118eab90c1f98d295f2cba12b1db3005898c
Merge "add visibility to SerializerFactory constructor"