actually got the param extraction errormessages into valid json