- Added serializer to the BaseEntity

- Removed id from it
- Added function assertJSONResult to WebTestCase