Correctly decode parameters that are objects