[CLEANUP] -Fixing broken rest endpoint.  This has been broken since pre 5.1