IE9 Compatibility

Using JSON.stringify(...) and JSON.parse(...)

See http://lists.jboss.org/pipermail/keycloak-user/2014-December/thread.html#1355