Used the original JSON implementation, removed unneeded files, simplified