[ruby-json_pure] Adopted and updated from 1.7.7 to 1.8.0