Added error handling for null response from json_decode. Improved vangrant-setup.sh.