Returned resource objects from server methods should not be modified
while converting to a bundle