updated api

returns a different format for the "effdate" keypair in the  api and
adds a  new keypair "effdate_long"