Fix json serialization of activeldap models