refactoring of loading data into typed table.
merge fails when using sqlite.
better to load straight into a typed table.
merge from lp:~tpokorra/openpetraorg/20141105_sqlite_monthyearend