JSON parser finally completed. It's also completely untested. Oh well.