JSON fixes and makes GIRP sort of work.