ARELLE-283 populate message and message_reference tables for semantic SQL