Removed newlines in logmsg. Added all fields also when logmsg is not json