adding serialization for rfc1123