Adding intent in json