jshn.sh: add json_add_fields function for adding multiple fields at once