Update json_util.h

filename should be passed as const char*