initial cut, really broken
Update JSON handling. Thanks, @tianon