Remove obsolete management command.
Use proper json serializers.