Implemented: introduced a decorator to be able to encode/ddecode the entity to be able to stre it to a database field