fixed issue with newer jsonlite