modified snappy package as optional
added jsonfile command