Order info storage to database

Serialized packages data. Note: current transformation code from items
to packages is one-package-per-item.