Strip off '[]' from the end of parameter names