Make transactional endpoint correctly serialize scala collection types, fixes #1046
Merge pull request #1055 from jakewins/fix-1046

Fix #1046