Arrayify manual documents before mapping

Existing manuals won't have a documents attribute yet. Rather than set
documents on all existing data we just arrayify the input to turn nil
into an empty array.