Removing the parseJSON function as this leads to many errors in some instances and isn’t really needed.