Serialize all PostInfo values, not just arrays.

Arrays are only one of the many possibilities that could cause us a problem.