Updates the route to list data products to accept json requests

As part of M047, I'm updating an existing semi-RESTFUL endpoint to accept a JSON request. Based on the comments, it looks like this was in the making but not fully implemented, this pull request should bridge that gap.