Create hal_serializer.js