Save dictionary-converted form of Flow object in session to allow JSON serialization