Moved @Name and @Required annotations from json.annotation to agent.annotation.