Forcing params to be an object