Adds support for json received
Removes ids, adds profiles