added message transformer for json validation
fixed overwriting