Updated to latest json spirit from ciere labs. Changing code to reflect the update.