Encode non-dense PHP arrays as Object types.