test with json instead of xml