parse input as json