Refactored PL Rest module as per latest IETF SCIM draft