Update json_util

filename should be passed as const char* to functions
json_object_to_file and json_object_to_file