Serialize the information in the database. It's easier.