refactor PSInference.getParameterProperties a bit