Add sp_to_json, @import