[doc] Added javadoc about Element serialization