Revert "fixed header name used in encode_properties"

encoding will be revised somehow

This reverts commit be4869de9f734258cb163fa0e6a92d2de4994000.