smaller image
allow role json serialization
roles thorugh the api