Fix child creation in AS JSON.