store: Add 'key' field for transaction items; remove 'amount' field
store: Add views for transactions and individual items belonging to them