Working remapping script with new meta json objects.