Compare the sha1 of the POSTed NexSON with the currentl NexSON and refactor _get_nexson