add JSON save for forms