Add fallback JSON stringify functionality on jQuery bridge