Storing annotations in JSON