Add test for sqlalchemy JsonEncoded type decorator

Change-Id: Iba684e206853e2728d55c659bbc4640f10896820