added documentation for binary payload encoding