support encode Long instance

ORG, we forgot to support Long obj