We have recently revamped our documentation page making it more flexible and easy to document new changes.
Most importantly we have changed the JSON response format for random API endpoint. So we would request you to update your code accordingly to adjust with this change. Here is how the output format looks now: