serialize arrays working for question controller