updated format for more general use
removed ruby object residue from db format