Adding all the json processing functions required by write_blueflood