Change type of format argument to SerializationOption