Fixes #1164 - Unwrap the id property for order payment to fix a problem where no payments could be removed from REST APIs