First attempt at serializing fks