Fix compiler warning in JsonSpec

The removed imports was not required. Addresses #101