Change timestamp to milliseconds and print custom attributes as k=v