Handle arrays in post input