errors_json: Split getting strings and integers into required vs optional.
Cleanups.
kayos: removed some dead files
kayos: rename errors_json.* to json_utils.* and update usages