adding code to setDrupalJSON to return from the function if JSON has not changed from previous call.