Implemented permalink. Now passing and saving JSON. Restoring client-side.