post-branch to hack apart call_for_json
rewrote aws get json function formerly call for json. the function works, but error handling has not been fully implemented
return an integer which will be an error code if the aws get json command throws an error, this way the only thing that a caller has to test is if the command returns an int, if it didn't the command was successful and you can expect some data