Fixed issue in serializing permissions
Merge pull request #155 from tarunbhardwaj/develop

Fixed issue in serializing permissions