Praveen,RT| made changes to return json after server calls