Minor upstream change.
Adding support for struct in the restful api.
Don't need this comment. So bye byes!