Fix #4361 Use Parameter $imageJSONEncode if returning sprites
Fix #4361 Use Parameter $imageJSONEncode if returning sprites

Fix https://github.com/salesagility/SuiteCRM/issues/4361
Parameter $imageJSONEncode should also be used if returning sprites.
gody01/SuiteCRM,horus68/SuiteCRM-Horus68,cumanacr/SuiteCRM,ChangezKhan/SuiteCRM,lionixevolve/LionixCRM,salesagility/SuiteCRM,ChangezKhan/SuiteCRM,gcoop-libre/SuiteCRM,pribeiro42/SuiteCRM,horus68/SuiteCRM-Horus68,lionixevolve/SuiteCRM,gcoop-libre/SuiteCRM,gcoop-libre/SuiteCRM,Dillon-Brown/SuiteCRM,JanSiero/SuiteCRM,JimMackin/SuiteCRM,daniel-samson/SuiteCRM,samus-aran/SuiteCRM,salesagility/SuiteCRM,Dillon-Brown/SuiteCRM,cumanacr/SuiteCRM,JanSiero/SuiteCRM,JanSiero/SuiteCRM,MikeyJC/SuiteCRM,lionixevolve/LionixCRM,lionixevolve/SuiteCRM,lionixevolve/LionixCRM,lionixevolve/LionixCRM,dfstrauss/SuiteCRM,JanSiero/SuiteCRM,gody01/SuiteCRM,lionixevolve/LionixCRM,gcoop-libre/SuiteCRM,samus-aran/SuiteCRM,dfstrauss/SuiteCRM,gody01/SuiteCRM,MikeyJC/SuiteCRM,ChangezKhan/SuiteCRM,lionixevolve/SuiteCRM,cumanacr/SuiteCRM,samus-aran/SuiteCRM,daniel-samson/SuiteCRM,salesagility/SuiteCRM,pribeiro42/SuiteCRM,lionixevolve/LionixCRM,daniel-samson/SuiteCRM,salesagility/SuiteCRM,lionixevolve/SuiteCRM,pribeiro42/SuiteCRM,daniel-samson/SuiteCRM,Dillon-Brown/SuiteCRM,JimMackin/SuiteCRM,horus68/SuiteCRM-Horus68,Dillon-Brown/SuiteCRM,ChangezKhan/SuiteCRM,cumanacr/SuiteCRM,horus68/SuiteCRM-Horus68,MikeyJC/SuiteCRM,dfstrauss/SuiteCRM,JimMackin/SuiteCRM,gody01/SuiteCRM,dfstrauss/SuiteCRM,samus-aran/SuiteCRM,JimMackin/SuiteCRM,pribeiro42/SuiteCRM,MikeyJC/SuiteCRM