1) merging with develop branch
2) fixed bug: retrieve of metadata profile with URI instead of ID