Try to load imput string as a json object before sharing