Proper param parsing for params