include JSON library
guard against a pre 0.10 json library bug