moved json_dumps out of edit_label