Update bundled python-jss.
Factor group handling. Add text replacement for group templates.