$user = User::first();
$user->setCustomField('marked_by_username', 'some_username');
$user->setCustomField('marked_date', now()->format('Y-m-d H:i:s'));
$username = $user->getCustomField('marked_by_username');
$user->deleteCustomField('marked_by_username');
this is gonna be stored in the custom_fields
attribute which is TEXT in the form of JSON.