DAO refactored and works fine now. really silly mistake in queries. List of journal entries returned by date. profile is stored as csv because of trouble with json simple - time consuming.