Refactor appendResource to remove redundant insertChildren calls Signed-off-by: Dylan Schooner <dschooner05@gmail.com>