Allow agents with "spaces" and other special characters in their name to
be addressed by URL.
-Migrate state to only allow Serializable values, fix code in a lot of
places. 
-