Editing groups accepts either ISOString or millis; outputs ISOString

Fixes #331