Fixed encode->decode
Fixed encode->decode


Former-commit-id: 2d7c46d413d71770daee1713f852c72803d729e9 [formerly 2d7c46d413d71770daee1713f852c72803d729e9 [formerly 54dfa66a377fce3f40241fbff09e2a8293380547]]
Former-commit-id: fb99821c2569e0b28ccdff995439b3d46e81e14b
Former-commit-id: a5189c16bb4f5f479d61645c20e7443d6a731488
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine