fixed json serialization from DB saved data