add packages in META; more flexible msg display; fix use of deriving json
fix type of Ojsmsg_js.display_error