change children field name as it is a reserved javascript word