Ensure json-smart is in right scope