platform modules may be defined via hash or mash

Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>