Started input parsing with json