The to_json_schema() method now has the 'required_fields' incorrectly placed outside of the 'data_key' dict. This patch moves it inside that dict. Change-Id: Id50a75bc27198576b615c4e76c046a53008d20bc Closes-Bug: #1608870