fixes custom encoder class loading problem with play