better naming
remove role name, use block specific id's for each role
append time to datestamp to make proper timestamps; use double quotes; json-encode final document; enable save