This converts the parameter to hash instead of checking if the parameter is here. This work because nil.to_h => {}
nil.to_h => {}