migrating meta.js to new socketAL format