fix 3d view facebook likes
Fix a potential json serialization error