get params as json