SMF attachment dir/s may be a serialized array or not (if only one is used)

Signed-off-by: emanuele <emanuele45@gmail.com>
Merge pull request #25 from emanuele45/fix

SMF attachment dir/s may be a serialized array or not