Fix: detecting the type of django fields and converting them to str; Add: sort items by 'pk'.