Custom Django model field for Fabric.js