Added getMessageParams method that returns message params list as array