Fixed json field

Due to json bug in Postgresql include fixed jsonfield into project.
Improved message list query
Added side filter for message list