worked on sending json for problems