service working, converted to parent child and json only