Fix data route

This returns the correctly formatted data