Coerce (string) number from URL into an int.
Fix serialization