remove redundant code
remove redundant code in spliceData.js and api/authoring.py
remove redundant code to fetch payload schema in authoring.py
test and testability of authoring API endpoint