Broken code before trying out XML type system
First json data transfer worked well