added json instead of xml