OR-755 Create a dispatch function helper for targets array
OR-755 fix bug : community members were returned as strings instead of their ids
Merge pull request #560 in OR/rse from ~RPIGNOLET/rse:OR-755 to master

* commit '1620553259041f88098602efbc1ea6f6b40b8214':
  OR-755 fix bug : community members were returned as strings instead of their ids
  OR-755 Create a dispatch function helper for targets array