Add name as missing format param to formatResult. This was causing runtime failure.