Fixed bugs with JSON and updated to new lockedAttributes standard

fixes #2
Updated example.json and check against change in JSON

Fixes #2
Merge pull request #3 from adaptlearning/issue/#2

Fixed bugs with JSON and updated to new lockedAttributes standard