Make the Social client user details serializable using JSON