Modify the params to store as json instead of individual fields

The name now terminates at the index