Fixed first-time JSON bug.