Adding serializing in gateway
Merge branch 'libraries' of https://github.com/Tonnu/Yolosec into libraries