enhanced default serialization to better support base scala types as per Mike's requests