Extract params from JSON