Added support for any Array content in session state (booleans, for
example).
Added option to edit session state as JSON.