Update piston/resource.py

Fixed is_string issue and removed diff code