allow nil/missing media intervals for contacts via API

Fixes #153.