Merge "Invalid cast results in HTTP 500 error returned by the Neutron REST APIs."